import {
  getCategoryDetail,
  getInviteAwards,
  getInviteCount,
  getPromotionCode,
  inviteMember,
  registerPromoter
} from '@src/api/member';
Component({
  options: {
    addGlobalClass: true
  },
  data: {
    visible: false
  },
  methods: {
    close(){
      this.setData({visible: false})
    },
    open() {
      this.setData({visible: true})
    },
    handleStop() {
      return true;
    },
    handleShareMoments() {
      this.close();
      this.triggerEvent('moments');
    },
      shareMenu() {
        this.triggerEvent("shareMenu")
    },
  }
});
